package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 网络规划仓库
 *
 * @author huangtao
 */
@TableName(value = "glc_network_depot")
public class NetworkDepot implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "depot_level")
    private Integer depotLevel;
    @TableField(value = "type")
    private Integer type;
    @TableField(value = "p_id")
    private Long pId;
    @TableField(value = "batch_id")
    private Long batchId;
    @TableField(value = "depot_name")
    private String depotName;
    @TableField(value = "depot_position")
    private String depotPosition;
    @TableField(value = "depot_lng")
    private String depotLng;
    @TableField(value = "depot_lat")
    private String depotLat;
    @TableField(value = "depot_capacity")
    private BigDecimal depotCapacity;
    @TableField(value = "depot_rent")
    private BigDecimal depotRent;
    @TableField(value = "worker_cost")
    private BigDecimal workerCost;
    @TableField(value = "device_cost")
    private BigDecimal deviceCost;
    @TableField(value = "energy_cost")
    private BigDecimal energyCost;
    @TableField(value = "other_cost")
    private BigDecimal otherCost;
    @TableField(value = "operator_id")
    private Long operatorId;
    @TableField(value = "create_time")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDepotLevel() {
        return depotLevel;
    }

    public void setDepotLevel(Integer depotLevel) {
        this.depotLevel = depotLevel;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getDepotName() {
        return depotName;
    }

    public void setDepotName(String depotName) {
        this.depotName = depotName == null ? null : depotName.trim();
    }

    public String getDepotPosition() {
        return depotPosition;
    }

    public void setDepotPosition(String depotPosition) {
        this.depotPosition = depotPosition == null ? null : depotPosition.trim();
    }

    public String getDepotLng() {
        return depotLng;
    }

    public void setDepotLng(String depotLng) {
        this.depotLng = depotLng == null ? null : depotLng.trim();
    }

    public String getDepotLat() {
        return depotLat;
    }

    public void setDepotLat(String depotLat) {
        this.depotLat = depotLat == null ? null : depotLat.trim();
    }

    public BigDecimal getDepotCapacity() {
        return depotCapacity;
    }

    public void setDepotCapacity(BigDecimal depotCapacity) {
        this.depotCapacity = depotCapacity;
    }

    public BigDecimal getDepotRent() {
        return depotRent;
    }

    public void setDepotRent(BigDecimal depotRent) {
        this.depotRent = depotRent;
    }

    public BigDecimal getWorkerCost() {
        return workerCost;
    }

    public void setWorkerCost(BigDecimal workerCost) {
        this.workerCost = workerCost;
    }

    public BigDecimal getDeviceCost() {
        return deviceCost;
    }

    public void setDeviceCost(BigDecimal deviceCost) {
        this.deviceCost = deviceCost;
    }

    public BigDecimal getEnergyCost() {
        return energyCost;
    }

    public void setEnergyCost(BigDecimal energyCost) {
        this.energyCost = energyCost;
    }

    public BigDecimal getOtherCost() {
        return otherCost;
    }

    public void setOtherCost(BigDecimal otherCost) {
        this.otherCost = otherCost;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
